package com.foton.lotteryinfrastructure.infrastru.dao;

import com.foton.lotteryinfrastructure.infrastru.po.Strategy;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author RenPu
 * @Date 2023/11/24 10:42
 * @Version 1.0
 * @Description: 抽奖策略 DAO
 **/

@Mapper
public interface IStrategyDao {

    /**
     * 根据策略ID 查询对应的策略信息
     *
     * @param strategyId
     * @return
     */
    Strategy queryStrategyInfo(Long strategyId);


    /**
     * 插入策略配置
     *
     * @param req 策略配置
     */
    void insert(Strategy req);

}
